<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="/static/home/css/addm.css"/>
	</head>
	<body>
		
        <!--头部-->
        
        
        
        
        
        <section class="one">
        	<div class="addaddress-text">
        		编辑密码:
        	</div>
        	
				<form action="{:url('home/account/addmi')}" method="post">  
					<input type="hidden" name="id" value="{$id}" hidden>
            <table>  

                <tr><td><div class="one-text">
                	密码：&nbsp;&nbsp; 
                </div> 
                  <input class="one-em" name="password" type="password" name="password" id="input1"></td>  
                </tr>  
                <tr><td>
                	<div class="one-text1">
                	重复密码：  
                	</div> 
                  <input class="one-em1" name="password"  type="password" name="password" id="input2" onblur="check2pwd()" ></td></tr>   
                  
            </table>  
            <a class="shop" id="add-m" href="javascript:;">编&nbsp;&nbsp;辑</a>


        	
        </section>
	</body>
	<script type="text/javascript" src="/static/home/js/all.js"></script>
		
	</script>
	<script>
	 function check2pwd() {  
                    if(input1.value != input2.value) {  
                        alert("两次输入密码不一致！")
                        input1.value = "";  
                        input2.value = "";  
                    }
            }
$(function(){
		//提交表单
		$('#add-m').click(function(){
		// 	//参数检测 略
		// 	//提交表单
			$('form').submit()
		});
	})

	</script>
</html>
